class System::Windows::Markup::XamlReader
  def self.load_file(file)
    open, read = System::IO::FileMode.open, System::IO::FileAccess.read
    stream = System::IO::FileStream.new file, open, read
    System::Windows::Markup::XamlReader.load stream
  end
end
